package com.karry.yl.service.personnel;


import com.karry.commons.base.SuperService;
import com.karry.yl.domain.personnel.Department;
import com.karry.yl.domain.personnel.DepartmentTreeTemplate;

import java.util.List;

/**
 * @author Administrator
 */
public interface DepartmentService extends SuperService<Department> {

    /**
     * 部门树结构
     * @param orgId
     * @return
     */
    List<DepartmentTreeTemplate> getTree(Long orgId);
}
